using System;
using ns27;
using Triton.Game.Mono;

namespace Triton.Game.Mapping
{
	[Attribute38("AdventureChooserTray")]
	public class AdventureChooserTray : AccordionMenuTray
	{
		public static string s_DefaultPortraitMaterialTextureName => MonoClass.smethod_8(TritonHs.MainAssemblyPath, "", "AdventureChooserTray", "s_DefaultPortraitMaterialTextureName");

		public static int s_DefaultPortraitMaterialIndex => MonoClass.smethod_6<int>(TritonHs.MainAssemblyPath, "", "AdventureChooserTray", "s_DefaultPortraitMaterialIndex");

		public AdventureSubScene m_ParentSubScene => method_3<AdventureSubScene>("m_ParentSubScene");

		public AdventureChooserDescription m_CurrentChooserDescription => method_3<AdventureChooserDescription>("m_CurrentChooserDescription");

		public AdventureChooserTray(IntPtr address, string className)
			: base(address, className)
		{
		}

		public AdventureChooserTray(IntPtr address)
			: this(address, "AdventureChooserTray")
		{
		}

		public static bool OnNavigateBack()
		{
			return MonoClass.smethod_14<bool>(TritonHs.MainAssemblyPath, "", "AdventureChooserTray", "OnNavigateBack", Array.Empty<object>());
		}

		public static void BackToMainMenu()
		{
			MonoClass.smethod_17(TritonHs.MainAssemblyPath, "", "AdventureChooserTray", "BackToMainMenu");
		}

		public void Awake()
		{
			method_8("Awake");
		}

		public void OnDestroy()
		{
			method_8("OnDestroy");
		}

		public void Start()
		{
			method_8("Start");
		}

		public void OnBackButton()
		{
			method_8("OnBackButton");
		}

		public void CreateAdventureChooserButton(AdventureDef advDef)
		{
			method_8("CreateAdventureChooserButton", advDef);
		}

		public void CreateAdventureChooserDescriptionFromPrefab(AdventureDbId adventureId, AdventureSubDef subDef, bool active)
		{
			method_8("CreateAdventureChooserDescriptionFromPrefab", adventureId, subDef, active);
		}

		public AdventureChooserDescription GetAdventureChooserDescription(AdventureDbId adventureId, AdventureModeDbId modeId)
		{
			return method_14<AdventureChooserDescription>("GetAdventureChooserDescription", new object[2] { adventureId, modeId });
		}

		public void ButtonModeSelected(ChooserSubButton btn)
		{
			method_8("ButtonModeSelected", btn);
		}

		public void ButtonExpanded(ChooserButton button, bool expand)
		{
			method_8("ButtonExpanded", button, expand);
		}

		public void SetTitleText(AdventureDbId adventureId, AdventureModeDbId modeId)
		{
			method_8("SetTitleText", adventureId, modeId);
		}

		public void OnSelectedModeChange(AdventureDbId adventureId, AdventureModeDbId modeId)
		{
			method_8("OnSelectedModeChange", adventureId, modeId);
		}

		public void ShowDisabledAdventureModeRequirementsWarning()
		{
			method_8("ShowDisabledAdventureModeRequirementsWarning");
		}

		public void UpdateChooseButton(AdventureDbId adventureId, AdventureModeDbId modeId)
		{
			method_8("UpdateChooseButton", adventureId, modeId);
		}

		public void OnBoxTransitionFinished(object userData)
		{
			method_8("OnBoxTransitionFinished", userData);
		}

		public void ChangeSubScene()
		{
			method_8("ChangeSubScene");
		}

		public void OnAdventureProgressUpdated(bool isStartupAction, AdventureMission.WingProgress oldProgress, AdventureMission.WingProgress newProgress, object userData)
		{
			method_8("OnAdventureProgressUpdated", isStartupAction, oldProgress, newProgress, userData);
		}
	}
}
